package com.liu.diyannotation;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class text {
    public static void main(String[] args) {
        org.springframework.context.ApplicationContext ApplicationContext = new ClassPathXmlApplicationContext("beanXml.xml");
        Person personImpl = (Person) ApplicationContext.getBean("PersonImpl");
        personImpl.add();
       // personImpl.del();
    }


}
